﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="suanhomtin.aspx.cs" Inherits="NCKH.Admin.suanhomtin" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
  <table>
        <tr>
            <td>Mã nhóm tin</td>
            <td>
                <asp:TextBox ID="txtma" runat="server" Text='<%# Eval("Manhomtin") %>'></asp:TextBox>
            </td>
            <td><asp:RequiredFieldValidator ID="rfvmanhom" runat="server"
                     ControlToValidate="txtma" ErrorMessage="thiếu mã nhóm" Display="Dynamic">mã không chính xác</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                Tên nhóm tin
            </td>
            <td>
                <asp:TextBox ID="txtten" runat="server" Text='<%# Eval("Tennhomtin") %>' OnTextChanged="txtten_TextChanged"></asp:TextBox>
            </td>
            <td><asp:RequiredFieldValidator ID="rfvten" runat="server"
                     ControlToValidate="txtten" Display="Dynamic" ErrorMessage="thiếu tên nhóm tin">thiếu tên nhóm tin</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td></td>
            <td>
                <asp:Button ID="btsua" runat="server" Text="Cập nhật" OnClick="btsua_Click" />
                <asp:Button ID="btback" runat="server" Text="Trở lại" OnClick="btback_Click" />
            </td>
        </tr>
    </table>
</asp:Content>
